import http from './my_axios'

export function loginByUsername (username, password) {
    const data = {username, password}
    return http.post('/login', data)
}

export function getInfo () {
    return http.post('/info')
}

export function logOut () {
    return http.post('/out')
}
